using Universe.WCF.Behaviors;

namespace Universe.WCF.Behaviors
{
public class TransparentDeliveryConfiguration
{
    public static readonly TransparentDeliveryConfiguration Common = new TransparentDeliveryConfiguration();

    public delegate void Handler(string action, DeliveryDictionary data);

    public Handler OnClient = delegate { };
    public Handler OnServer = delegate { };

    public TransparentDeliveryConfiguration()
    {
    }

    public TransparentDeliveryConfiguration(Handler onClient, Handler onServer)
    {
        OnClient += onClient;
        OnServer += onServer;
    }
}
}